package com.dongnam.quanly.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "LoaiVatTuHangHoa")
public class LoaiVatTuHangHoa extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "MaLoaiVTHH", length = 100)
	private String maLoai;
	@Column(name = "TenLoai", length = 200)
	private String tenLoai;
	@Column(name = "ThuocLoai", length = 100)
	private String thuocLoai;
	@Column(name = "DienGiai")
	private String dienGiai;
	@Column(name = "IsHasChild")
	private Boolean isHasChild;

	public LoaiVatTuHangHoa() {
		// TODO Auto-generated constructor stub
	}

	public LoaiVatTuHangHoa(String maloai) {
		// TODO Auto-generated constructor stub
		this.maLoai = maloai;
	}

	public String getMaLoai() {
		return maLoai;
	}

	public void setMaLoai(String maLoai) {
		this.maLoai = maLoai;
	}

	public String getTenLoai() {
		return tenLoai;
	}

	public void setTenLoai(String tenLoai) {
		this.tenLoai = tenLoai;
	}

	public String getThuocLoai() {
		return thuocLoai;
	}

	public void setThuocLoai(String thuocLoai) {
		this.thuocLoai = thuocLoai;
	}

	public Boolean getIsHasChild() {
		return isHasChild;
	}

	public void setIsHasChild(Boolean isHasChild) {
		this.isHasChild = isHasChild;
	}

	public String getDienGiai() {
		return dienGiai;
	}

	public void setDienGiai(String dienGiai) {
		this.dienGiai = dienGiai;
	}

}
